package com.ldatum.crm.serviceImpl;

import java.util.List;

import com.ldatum.crm.dao.TPositionDao;
import com.ldatum.crm.daoImpl.TPositionDaoImpl;
import com.ldatum.crm.domain.TPosition;
import com.ldatum.crm.service.TPositionService;

public class TPositionServiceImpl implements TPositionService {
	
	TPositionDao positionDao = new TPositionDaoImpl();
	@Override
	public List<TPosition> list(Class<TPosition> class1) {
		return positionDao.list(class1);
	}

	@Override
	public List<TPosition> findByDepartId(int departId) {
		return positionDao.findByDepartId(departId);
	}

}
